package itcast.bos.base.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import itcast.bos.domain.base.Courier;
import itcast.bos.domain.base.TakeTime;

public interface ICourierService {

	void save(Courier courier);

	//Page<Courier> findPageData(Pageable pageable);

	Page<Courier> findPageData(Specification<Courier> sf, Pageable pageable);

	void delete(String[] sts);

	List<Courier> findNoFixedAreaCouriers();

	Courier findOne(String courierId);

	void updateCourierByTime(String courierId, TakeTime tt);

}
